package First;
public class Student {
    private String id;
    private String password;
    private String name;
    private String classNum;
    private String age;
    private String major;

    // getters and setters here

    // Constructor
    public Student(String id, String password, String name, String classNum, String age, String major) {
        this.id = id;
        this.password = password;
        this.name = name;
        this.classNum = classNum;
        this.age = age;
        this.major = major;
    }

    @Override
    public String toString() {
        return id + "," + password + "," + name + "," + classNum + "," + age + "," + major;
    }
}
